package com.kcht.sylyg08.service.impl;

import com.kcht.sylyg08.service.IGetProductInfoFromMes;
import com.kcth.sylyg08.entity.Product;

import javax.enterprise.context.RequestScoped;
import javax.transaction.Transactional;

/**
 * @Package: com.kcht.sylyg08.service.impl
 * @Description: 从MES系统获取产品信息
 * @Author: lenovo
 * @CreateDate: 2019/5/20 14:24
 */
@RequestScoped
@Transactional()
public class GetProductInfoFromMes implements IGetProductInfoFromMes {
    @Override
    public Product getProductInfoFromMes() throws Exception {
        Product product = new Product(null,"982323423232","982323423232","伊利婴儿",
                "上线", null,null);
        return product;
    }
}
